package com.manage.design.dao;

import com.manage.design.pojo.Operator;

/**
 * @Create by ldr
 * @create 2018/9/7 13:46
 * @Description: 操作员数据库访问层
 */
public interface OperatorMapper {

     /*
      * description:根据操作员账号查询操作员信息
      * @params [username] 操作员账号
      * @return com.manage.design.pojo.Operator
      */
    Operator selectByUsername(String username);

    /*
     * description: 根据操作员账号修改密码
     * @params [record] 操作员信息
     * @return int 更新记录数
     */
    int updateByUsername(Operator record);
}